package com.ccsu.eb.constants;

/**
 * @Description: 用一句话描述
 * @Auther: 新梦想*陈超
 * @Date: 2022/3/22 11:11
 */

public enum OrderStatus {
    ORDER_CREATED(1001,"订单已创建"),ORDER_APPROVE(1003,"上架审核"),ORDER_DELIVERY(1004,"已发货"),
    ORDER_CANCEL(1002,"订单取消"),ORDER_RECEVEIPT(1005,"已收货"),ORDER_FINIED(1006,"订单完成");
    private int code;
    private  String  msg;
    OrderStatus(int code,String msg){
        this.code= code;
        this.msg =msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
